{block name="product_info_gallery_modal"}
{* layer START *} {if $images|@count > 0} {include file="get_usermod:{$tpl_path}product_info_gallery_swiper.html" swiperId="product-info-layer-image" popup="true" swiperImages=$images swiperControls="#product-info-layer-thumbnails" showControls="true" swiperOptions=", \"effect\": \"fade\", \"autoplay\": null, \"initialSlide\": \"\""} {/if} {* layer END *}
{* layer, thumbnails START *} {if $thumbnails|@count > 1} {block name="product_info_gallery_modal_thumbnails"}
{include file="get_usermod:{$tpl_path}product_info_gallery_swiper.html" swiperId="product-info-layer-thumbnails" swiperImages=$thumbnails swiperTarget="#product-info-layer-image" swiperOptions=", \"spaceBetween\": 10, \"loop\": false, \"slidesPerView\": \"auto\", \"autoplay\": null, \"initialSlide\": \"\"" additionalData="data-swiper-breakpoints=\"[]\""}
{/block} {/if} {* layer, thumbnails END *} {/block}